Package io.realm.kotlin.types.annotations

Types

Ignore
Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.FIELD])
annotation class Ignore
Annotation marking a field as ignored inside Realm, meaning that it will not be part of the models' schema.
Index
Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.FIELD])
annotation class Index
Annotation marking a field as indexed.
PersistedName
Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.PROPERTY])
annotation class PersistedName(name: String)
Annotation mapping a Kotlin field name to the field name persisted in the Realm.
PrimaryKey
Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.FIELD])
annotation class PrimaryKey
Annotation marking a field as a primary key inside Realm.